#include"SptMain.h"
using namespace spt;

DbgLog spt::DbgReal("DbgReal");
DbgLog spt::DbgMsg("DbgMsg");
DbgLog spt::DbgWarn("DbgWarn");
DbgLog spt::DbgErr("DbgErr");
DbgLog spt::DbgApp("DbgApp");

spt::DbgLog::DbgLog(const char* Name)
{
}

DbgLog& spt::DbgLog::Print(const char* Msg)
{
	spt::Printf(Msg);

	return *this;
}

DbgLog& spt::DbgLog::operator<<(const char* Msg)
{
	Print(Msg);

	return *this;
}

DbgLog& spt::DbgLog::EndLine()
{
	Print(spt::endl);
	return *this;
}

DbgLog& spt::DbgLog::Stamp()
{
	Print("this is time sample:");
	return  *this;
}

#ifdef SSLWIN32SIM
const char* spt::endl = ("\r\n");
#else
const char* spt::endl = ("\n");
#endif 
